package com.framework.common.model.menu;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 龘鵺
 * @version 1.0
 * @className com.framework.common.model.menu
 * @description 菜单组合实体类
 * @datetime 2022-01-09 11:11:11
 */
public class MenuModel implements Serializable {
    /**
     * 编号
     */
    private Long id;

    /**
     * 节点名称
     */
    private String title;
    /**
     * 是否菜单
     */
    private boolean isMenu;
    /**
     * 是否选中
     */
    private boolean checked;
    /**
     * 子菜单集合
     */
    private List<MenuModel> menuList = new ArrayList<>();
    /**
     * 按钮集合
     */
    private List<MenuModel> buttonList = new ArrayList<>();


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isMenu() {
        return isMenu;
    }

    public void setMenu(boolean menu) {
        isMenu = menu;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public List<MenuModel> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<MenuModel> menuList) {
        this.menuList = menuList;
    }

    public List<MenuModel> getButtonList() {
        return buttonList;
    }

    public void setButtonList(List<MenuModel> buttonList) {
        this.buttonList = buttonList;
    }
}
